From d45a0114a500342699b66d0c034d67ad8055f60e Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Wed, 19 Jan 2011 15:40:46 +0100 Subject: [PATCH] Fix linking of drawing example Commit 80e1340e introduced using a GDK method in examples/drawing.c, so actually link that to GDK. Fixes build failure with --as-needed linker option and gcc 4.5. --- examples/Makefile.am | 3 +++ 1 file changed, 3 insertions(+) diff --git a/examples/Makefile.am b/examples/Makefile.am index 948d58a213..440197fd0e 100644 --- a/examples/Makefile.am +++ b/examples/Makefile.am @@ -48,6 +48,9 @@ LDADD = \ $(top_builddir)/gtk/libgtk-3.0.la \ $(GTK_DEP_LIBS) +drawing_LDADD = $(LDADD) \ + $(top_builddir)/gdk/libgdk-3.0.la + noinst_PROGRAMS = \ hello-world \ window-default \ -- 2.30.2